#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

bool isPerfectSquare(int num);

int main()
{
	return 0;
}

bool isPerfectSquare(int num)
{
	unsigned left = 1, right = num;
	while (left < right) {
		unsigned mid = left + (right - left >> 1);
		if (mid > num / mid)	right = mid;
		else					left = mid + 1;
	}
	//〄printf("%d\n", left);♡
	left == 1? :left--;
	if (left == (double)num / left) return true;
	return false;
}
